<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<link href="<%=basePath%>/style/style.css" rel="stylesheet"
	type="text/css">
<link href="style/form.css" rel="stylesheet" type="text/css">
<link href="style/jBox.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jBox-1.1.js"></script>
<table class="mainTable" border="0" align="center" cellpadding="0"
	cellspacing="1" bgcolor="#ffb19b">
	<tr>
		<td class="listTitleBg"  colspan=2>
			<div class="listTitleLeftBg" >
				系统管理
			</div>
			<div class="listTitleRightBg">
				<a onclick="jBox.open('div-jBoxID','div','search1','按条件查询','width=700,height=160,center=true,minimizable=true,resize=false,draggable=true,model=false');"
				href="javascript://" class="search"><img src="images/pic22.jpg" width="55" height="26" />
				</a>
			</div>
		</td>
	</tr>
	<tr>
		<td bgcolor="#FFFFFF" class="paddingTB">
			<table width="100%" border="0" align="center" cellpadding="0"
				cellspacing="1" bgcolor="#e1e1e1">
				<tr>
					<td colspan="6" align="center" valign="middle" bgcolor="#FFFFFF"
						class="listPages">
						<span style="float: left; padding-left: 10px;"> 系统公告 >> </span>
						<span style="text-align: center">${pageStr}</span>
					</td>
					
				</tr>
				<tr class="listT1">
					<td width="6%" align="center" valign="middle" bgcolor="#FFFFFF"
						class="title2">
						序号
					</td>
					<td width="30%" align="center" valign="middle" bgcolor="#FFFFFF"
						class="title2">
						公告标题
					</td>
					<td width="15%" align="center" valign="middle" bgcolor="#FFFFFF"
						class="title2">
						发布人
					</td>
					<td width="10%" align="center" valign="middle" bgcolor="#FFFFFF"
						class="title2">
						发布日期
					</td>
					<td width="10%" align="center" valign="middle" bgcolor="#FFFFFF"
						class="title2">
						查看次数
					</td>
					<td align="center" width="24%" valign="middle" bgcolor="#FFFFFF" class="title2">
						基本操作
					</td>
				</tr>
				<s:iterator id="notice" value="%{noticelist}" status="stuts">
					<tr>
						<td align="center" valign="middle" bgcolor="#FFFFFF">
							<s:property value="#stuts.count" />
						</td>
						<td align="center" valign="middle" bgcolor="#FFFFFF">
							<a
								href="lookNotice.do?id=<s:property value="#notice.id"/>" title="<s:property value="#notice.title" />">
								<s:if test="#notice.title.length()>30">
								<s:property value="#notice.title.substring(0,30)" />...
								</s:if>
								<s:else>
								<s:property value="#notice.title" />
								</s:else>
								</a>
						</td>
						<td align="center" valign="middle" bgcolor="#FFFFFF">
							<s:property value="#notice.releaser" />
						</td>
						<td align="center" valign="middle" bgcolor="#FFFFFF">
							<s:property value="#notice.releasedate" />
						</td>
						<td align="center" valign="middle" bgcolor="#FFFFFF">
							<s:property value="#notice.times" />
						</td>
						<td align="center" valign="middle" bgcolor="#FFFFFF" class="add">
							<img src="images/btn/look.gif" />
							<a
								href="lookNotice.do?id=<s:property value="#notice.id"/>">[查看]</a>
					</tr>
				</s:iterator>
			</table>
		</td>
	</tr>
</table>
<div id="search1" style="display: none">
			<form method="post" action="noticeList.do?action=portal">
				<table width="97%" border="0" align="center" cellpadding="5"
					cellspacing="0">
					<tr>
						<td height="60" valign="top">
							<table width="98%" border="0" align="center" cellpadding="1"
								cellspacing="1" bgcolor="#ffffff">
								<tr>
									<td width="20%" align="center">
										公告标题：
									</td>
									<td>
										<input type="text" name="bean.title" title="公告标题" id="title"/>
									</td>
									<td width="20%" align="center">
										公告发布人：
									</td>
									<td width="30%" align="center">
										<input type="text" name="bean.releaser"  title="公告发布人" id="releaser"/>
								</tr>
								<tr>
									<td width="30%" align="center" colspan="4" class="maintb1">
										<center>
											<input class="subbg" style="height: 30px" id="button2"
												type="submit" value="搜索" />
											&nbsp;&nbsp;&nbsp;&nbsp;
											<input class="subbg" style="height: 30px" id="button2"
												type="reset" value="重置"/>
										</center>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</form>
		</div>

